package com.hnevc.sendtask;

public class Test {
	public static void main(String[] args) {
		Transportation t = new ZTransportation("湘A1234567","三一货卡","张三");
		GPS gps = new Phone();
		
		SendTask sendTask = new SendTask("SP3412345345", 12.8);
		sendTask.sendBefore();
		sendTask.send(t, gps);
		sendTask.sendAfter(t);
		((ZTransportation)t).upKeep();
	}
}
